Integrand size = 23, antiderivative size = 101 \[ \int \cos ^{\frac {5}{2}}(c+d x) (b \cos (c+d x))^{3/2} \, dx=\frac {3 b x \sqrt {b \cos (c+d x)}}{8 \sqrt {\cos (c+d x)}}+\frac {3 b \sqrt {\cos (c+d x)} \sqrt {b \cos (c+d x)} \sin (c+d x)}{8 d}+\frac {b \cos ^{\frac {5}{2}}(c+d x) \sqrt {b \cos (c+d x)} \sin (c+d x)}{4 d} \]
1/4*b*cos(d*x+c)^(5/2)*sin(d*x+c)*(b*cos(d*x+c))^(1/2)/d+3/8*b*x*(b*cos(d* x+c))^(1/2)/cos(d*x+c)^(1/2)+3/8*b*sin(d*x+c)*cos(d*x+c)^(1/2)*(b*cos(d*x+ c))^(1/2)/d
Time = 0.20 (sec) , antiderivative size = 55, normalized size of antiderivative = 0.54 \[ \int \cos ^{\frac {5}{2}}(c+d x) (b \cos (c+d x))^{3/2} \, dx=\frac {(b \cos (c+d x))^{3/2} (12 (c+d x)+8 \sin (2 (c+d x))+\sin (4 (c+d x)))}{32 d \cos ^{\frac {3}{2}}(c+d x)} \]
((b*Cos[c + d*x])^(3/2)*(12*(c + d*x) + 8*Sin[2*(c + d*x)] + Sin[4*(c + d* x)]))/(32*d*Cos[c + d*x]^(3/2))
Time = 0.28 (sec) , antiderivative size = 75, normalized size of antiderivative = 0.74, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.261, Rules used = {2031, 3042, 3115, 3042, 3115, 24}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \cos ^{\frac {5}{2}}(c+d x) (b \cos (c+d x))^{3/2} \, dx\) |
\(\Big \downarrow \) 2031 |
\(\displaystyle \frac {b \sqrt {b \cos (c+d x)} \int \cos ^4(c+d x)dx}{\sqrt {\cos (c+d x)}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {b \sqrt {b \cos (c+d x)} \int \sin \left (c+d x+\frac {\pi }{2}\right )^4dx}{\sqrt {\cos (c+d x)}}\) |
\(\Big \downarrow \) 3115 |
\(\displaystyle \frac {b \sqrt {b \cos (c+d x)} \left (\frac {3}{4} \int \cos ^2(c+d x)dx+\frac {\sin (c+d x) \cos ^3(c+d x)}{4 d}\right )}{\sqrt {\cos (c+d x)}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {b \sqrt {b \cos (c+d x)} \left (\frac {3}{4} \int \sin \left (c+d x+\frac {\pi }{2}\right )^2dx+\frac {\sin (c+d x) \cos ^3(c+d x)}{4 d}\right )}{\sqrt {\cos (c+d x)}}\) |
\(\Big \downarrow \) 3115 |
\(\displaystyle \frac {b \sqrt {b \cos (c+d x)} \left (\frac {3}{4} \left (\frac {\int 1dx}{2}+\frac {\sin (c+d x) \cos (c+d x)}{2 d}\right )+\frac {\sin (c+d x) \cos ^3(c+d x)}{4 d}\right )}{\sqrt {\cos (c+d x)}}\) |
\(\Big \downarrow \) 24 |
\(\displaystyle \frac {b \sqrt {b \cos (c+d x)} \left (\frac {\sin (c+d x) \cos ^3(c+d x)}{4 d}+\frac {3}{4} \left (\frac {\sin (c+d x) \cos (c+d x)}{2 d}+\frac {x}{2}\right )\right )}{\sqrt {\cos (c+d x)}}\) |
(b*Sqrt[b*Cos[c + d*x]]*((Cos[c + d*x]^3*Sin[c + d*x])/(4*d) + (3*(x/2 + ( Cos[c + d*x]*Sin[c + d*x])/(2*d)))/4))/Sqrt[Cos[c + d*x]]
3.2.50.3.1 Defintions of rubi rules used
Int[(Fx_.)*((a_.)*(v_))^(m_)*((b_.)*(v_))^(n_), x_Symbol] :> Simp[a^(m + 1/ 2)*b^(n - 1/2)*(Sqrt[b*v]/Sqrt[a*v]) Int[v^(m + n)*Fx, x], x] /; FreeQ[{a , b, m}, x] && !IntegerQ[m] && IGtQ[n + 1/2, 0] && IntegerQ[m + n]
Int[((b_.)*sin[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> Simp[(-b)*Cos[c + d* x]*((b*Sin[c + d*x])^(n - 1)/(d*n)), x] + Simp[b^2*((n - 1)/n) Int[(b*Sin [c + d*x])^(n - 2), x], x] /; FreeQ[{b, c, d}, x] && GtQ[n, 1] && IntegerQ[ 2*n]
Time = 2.81 (sec) , antiderivative size = 63, normalized size of antiderivative = 0.62
method | result | size |
default | \(\frac {b \sqrt {\cos \left (d x +c \right ) b}\, \left (2 \sin \left (d x +c \right ) \left (\cos ^{3}\left (d x +c \right )\right )+3 \cos \left (d x +c \right ) \sin \left (d x +c \right )+3 d x +3 c \right )}{8 d \sqrt {\cos \left (d x +c \right )}}\) | \(63\) |
risch | \(\frac {3 b \sqrt {\cos \left (d x +c \right ) b}\, \left (\sqrt {\cos }\left (d x +c \right )\right ) {\mathrm e}^{i \left (d x +c \right )} x}{4 \left ({\mathrm e}^{2 i \left (d x +c \right )}+1\right )}-\frac {i b \sqrt {\cos \left (d x +c \right ) b}\, \left (\sqrt {\cos }\left (d x +c \right )\right ) {\mathrm e}^{5 i \left (d x +c \right )}}{32 \left ({\mathrm e}^{2 i \left (d x +c \right )}+1\right ) d}+\frac {i b \sqrt {\cos \left (d x +c \right ) b}\, \left (\sqrt {\cos }\left (d x +c \right )\right ) {\mathrm e}^{-i \left (d x +c \right )}}{4 \left ({\mathrm e}^{2 i \left (d x +c \right )}+1\right ) d}-\frac {7 i b \sqrt {\cos \left (d x +c \right ) b}\, \left (\sqrt {\cos }\left (d x +c \right )\right ) \cos \left (3 d x +3 c \right )}{32 \left ({\mathrm e}^{2 i \left (d x +c \right )}+1\right ) d}+\frac {9 b \sqrt {\cos \left (d x +c \right ) b}\, \left (\sqrt {\cos }\left (d x +c \right )\right ) \sin \left (3 d x +3 c \right )}{32 \left ({\mathrm e}^{2 i \left (d x +c \right )}+1\right ) d}\) | \(233\) |
1/8/d*b*(cos(d*x+c)*b)^(1/2)*(2*sin(d*x+c)*cos(d*x+c)^3+3*cos(d*x+c)*sin(d *x+c)+3*d*x+3*c)/cos(d*x+c)^(1/2)
Time = 0.31 (sec) , antiderivative size = 183, normalized size of antiderivative = 1.81 \[ \int \cos ^{\frac {5}{2}}(c+d x) (b \cos (c+d x))^{3/2} \, dx=\left [\frac {2 \, {\left (2 \, b \cos \left (d x + c\right )^{2} + 3 \, b\right )} \sqrt {b \cos \left (d x + c\right )} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right ) + 3 \, \sqrt {-b} b \log \left (2 \, b \cos \left (d x + c\right )^{2} - 2 \, \sqrt {b \cos \left (d x + c\right )} \sqrt {-b} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right ) - b\right )}{16 \, d}, \frac {{\left (2 \, b \cos \left (d x + c\right )^{2} + 3 \, b\right )} \sqrt {b \cos \left (d x + c\right )} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right ) + 3 \, b^{\frac {3}{2}} \arctan \left (\frac {\sqrt {b \cos \left (d x + c\right )} \sin \left (d x + c\right )}{\sqrt {b} \cos \left (d x + c\right )^{\frac {3}{2}}}\right )}{8 \, d}\right ] \]
[1/16*(2*(2*b*cos(d*x + c)^2 + 3*b)*sqrt(b*cos(d*x + c))*sqrt(cos(d*x + c) )*sin(d*x + c) + 3*sqrt(-b)*b*log(2*b*cos(d*x + c)^2 - 2*sqrt(b*cos(d*x + c))*sqrt(-b)*sqrt(cos(d*x + c))*sin(d*x + c) - b))/d, 1/8*((2*b*cos(d*x + c)^2 + 3*b)*sqrt(b*cos(d*x + c))*sqrt(cos(d*x + c))*sin(d*x + c) + 3*b^(3/ 2)*arctan(sqrt(b*cos(d*x + c))*sin(d*x + c)/(sqrt(b)*cos(d*x + c)^(3/2)))) /d]
Timed out. \[ \int \cos ^{\frac {5}{2}}(c+d x) (b \cos (c+d x))^{3/2} \, dx=\text {Timed out} \]
Time = 0.40 (sec) , antiderivative size = 53, normalized size of antiderivative = 0.52 \[ \int \cos ^{\frac {5}{2}}(c+d x) (b \cos (c+d x))^{3/2} \, dx=\frac {{\left (12 \, {\left (d x + c\right )} b + b \sin \left (4 \, d x + 4 \, c\right ) + 8 \, b \sin \left (\frac {1}{2} \, \arctan \left (\sin \left (4 \, d x + 4 \, c\right ), \cos \left (4 \, d x + 4 \, c\right )\right )\right )\right )} \sqrt {b}}{32 \, d} \]
1/32*(12*(d*x + c)*b + b*sin(4*d*x + 4*c) + 8*b*sin(1/2*arctan2(sin(4*d*x + 4*c), cos(4*d*x + 4*c))))*sqrt(b)/d
Leaf count of result is larger than twice the leaf count of optimal. 204 vs. \(2 (83) = 166\).
Time = 2.43 (sec) , antiderivative size = 204, normalized size of antiderivative = 2.02 \[ \int \cos ^{\frac {5}{2}}(c+d x) (b \cos (c+d x))^{3/2} \, dx=\frac {{\left (3 \, \sqrt {b} d x \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{8} + 12 \, \sqrt {b} d x \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{6} - 10 \, \sqrt {b} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{7} + 18 \, \sqrt {b} d x \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{4} + 6 \, \sqrt {b} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{5} + 12 \, \sqrt {b} d x \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} - 6 \, \sqrt {b} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{3} + 3 \, \sqrt {b} d x + 10 \, \sqrt {b} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )} b}{8 \, {\left (d \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{8} + 4 \, d \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{6} + 6 \, d \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{4} + 4 \, d \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + d\right )}} \]
1/8*(3*sqrt(b)*d*x*tan(1/2*d*x + 1/2*c)^8 + 12*sqrt(b)*d*x*tan(1/2*d*x + 1 /2*c)^6 - 10*sqrt(b)*tan(1/2*d*x + 1/2*c)^7 + 18*sqrt(b)*d*x*tan(1/2*d*x + 1/2*c)^4 + 6*sqrt(b)*tan(1/2*d*x + 1/2*c)^5 + 12*sqrt(b)*d*x*tan(1/2*d*x + 1/2*c)^2 - 6*sqrt(b)*tan(1/2*d*x + 1/2*c)^3 + 3*sqrt(b)*d*x + 10*sqrt(b) *tan(1/2*d*x + 1/2*c))*b/(d*tan(1/2*d*x + 1/2*c)^8 + 4*d*tan(1/2*d*x + 1/2 *c)^6 + 6*d*tan(1/2*d*x + 1/2*c)^4 + 4*d*tan(1/2*d*x + 1/2*c)^2 + d)
Time = 14.93 (sec) , antiderivative size = 76, normalized size of antiderivative = 0.75 \[ \int \cos ^{\frac {5}{2}}(c+d x) (b \cos (c+d x))^{3/2} \, dx=\frac {b\,\sqrt {\cos \left (c+d\,x\right )}\,\sqrt {b\,\cos \left (c+d\,x\right )}\,\left (8\,\sin \left (c+d\,x\right )+9\,\sin \left (3\,c+3\,d\,x\right )+\sin \left (5\,c+5\,d\,x\right )+24\,d\,x\,\cos \left (c+d\,x\right )\right )}{32\,d\,\left (\cos \left (2\,c+2\,d\,x\right )+1\right )} \]